<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/pages/common/taglib.jsp"%>
<c:forEach var="shoporder" varStatus="shoporderindex" items="${datas}">
	<tr>
		<td class="keys">
			<a href="${adminPath}/order/refurbish/detail/${shoporder.orderno}">${shoporder.orderno}</a>
			<c:if test="${shoporderindex.index==0}"><input type="hidden" id="itemCount" value="${itemCount}"/></c:if>
		</td>
		<td >${shoporder.nickname}  </td>
		<td >${shoporder.name}  </td>
		<td >${shoporder.totalprice==null?'':(tz:formatDouble(shoporder.totalprice))}  </td>
		<td >${shoporder.actualpayprice==null?'':(tz:formatDouble(shoporder.actualpayprice))} </td>
		<td >${shoporder.totalnum}</td>
		<td class="tmui-tips" tip="${tz:formatDate(shoporder.createTime,'yyyy-MM-dd HH:mm:ss')}">
				${tz:timeFormat(shoporder.createTime)}
		</td>
		<td>
			<tz:if test="${shoporder.deleteCode=='001'}">
				<tz:then><a href="javascript:void(0)" opid="${adminuser.id}" mark="deleteCode" val="002" onclick="tzAdmin.op(this);" class="green">否</a></tz:then>
                	<tz:else><a href="javascript:void(0)" opid="${adminuser.id}" mark="deleteCode" val="001" onclick="tzAdmin.op(this);" class="red">是</a></tz:else>
			</tz:if>
		</td>
		<td>
			<select name="" onchange="changeStatus('${shoporder.orderno}' ,this)">
			<c:forEach  items="${refurbishStatus}" var="st">
			<option value="${st.codevalue}" ${st.codevalue==shoporder.shoporderstatusCode ? 'selected':''} disabled="disabled">${st.dictname}</option>
			</c:forEach>
			</select>
		</td>
		<td>
			<a href="${adminPath}/order/refurbish/detail/${shoporder.orderno}"  class="btn btn-default" ><i class="iconfont icon-edit"></i> 编辑</a>
			<a href="javascript:void(0);" data-opid="${shoporder.orderno}" onclick="tzAdmin.remove(this)" class="btn btn-danger"><i class="iconfont icon-del"></i> 删除</a>
		</td>
	</tr>
</c:forEach>


